{template 'common/header'}
<ul class="nav nav-tabs">
	<li class="active"><a href="#">精进榜列表</a></li>
</ul>
<style>
#nav-tabs>li.active>a, #nav-tabs>li.active>a:hover, #nav-tabs>li.active>a:focus{ color:#333333; text-decoration:underline; }
</style>
<ul class="nav nav-tabs" id="nav-tabs" style="border:none;">
{loop $glist $glist}
	<li class="active">
    <a style="border:none; background:none;" href="{php echo $this->createWebUrl('news',array('display' => 1,'cid' =>$glist['class_id']))}">{$glist['classname']}</a>
    </li>
{/loop}

</ul>
<style>
.table td span{display:inline-block;margin-top:4px;}
.table td input{margin-bottom:0;}
</style>
<div class="clearfix">

<form class="form-horizontal form" action="{php echo $this->createWebUrl('bang', array('act' =>'edit'))}" method="post" enctype="multipart/form-data">
	<div class="panel panel-default">
		<div class="panel-heading">添加贡品</div>
		<div class="panel-body">
				<input type="hidden" name="id" value="{$info[id]}">
				<div class="form-group">
					<label class="col-xs-12 col-sm-4 col-md-3 col-lg-2 control-label">连续拜佛时间</label>
					<div class="col-sm-8 col-xs-12">
						<input type="text" class="form-control" placeholder="" name="have" value="{$info['have']}">
						<input type="hidden" class="form-control" placeholder="" name="e" value="e">
					</div>
				</div>
				<div class="form-group">
					<label class="col-xs-12 col-sm-4 col-md-3 col-lg-2 control-label">继续拜佛时间</label>
					<div class="col-sm-8 col-xs-12">
						<input type="text" class="form-control" placeholder="" name="had" value="{$info['had']}">
					</div>
				</div>



		</div>
	</div>

	<div class="form-group">
		<div class="col-sm-12">
			<input name="submit" type="submit" value="提交" class="btn btn-primary col-lg-1">
		</div>
	</div>
</form>
</div>
{$pager}

{template 'common/footer'}
